package mate.events
{
	import flash.events.Event;
	
	public class PinkPonyEvent extends Event
	{
		public static const INIT:String = "init";
		public static const SEARCHPRACTICESBYPOSTALCODEORCITYNAME:String = "searchPracticesByPostalCodeOrCityName";
		public static const SEARCHLOCATIONSFORDISTRICT:String = "searchLocationsForDistrict";
		public static const GOTOPRACTICEPROFILE:String = "goToPracticeProfile";
		public static const GOTOREGISTRATION:String = "goToRegistration";
		public static const GOTOHOME:String = "goTohome";
		public static const GOTOCMS:String = "goToCms";
		
		private var _searchNumber:Number;
		private var _searchString:String;
		
		[Bindable]
		public function set searchNumber(searchNumber:Number):void{
			this._searchNumber = searchNumber;
		}
		public function get searchNumber():Number{
			return this._searchNumber;
		}
		
		[Bindable]
		public function set searchString(searchString:String):void{
			this._searchString = searchString;
		}
		public function get searchString():String{
			return this._searchString;
		}
		
		public function PinkPonyEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}